/**
 * @author Tobias Boehm
 *
 * 17.05.2011
 */
package org.anddev.andengine.extension.tbsengine.shared;

import org.anddev.andengine.extension.tbsengine.menu.activity.AbsPrepareMatchActivity;

import android.graphics.drawable.Drawable;

/**
 * This is an interface for objects you can assume to either provide a {@link Drawable}
 * as an icon or a {@link String} as a name. It is useful for GUI objects, for 
 * example in your View for your implementation of {@link AbsPrepareMatchActivity}.
 * 
 * @author Tobias Boehm
 *
 */
public interface IImageOrTextSelectableItem {

	/**
	 * This method should return a drawable icon or null if there is no icon 
	 * available.
	 * @return
	 */
	public Drawable getIcon();
	
	/**
	 * This method should return a string or null if there is no text available
	 * @return
	 */
	public String getName();
}
